//@author A0105735J
// This class is for add command
#pragma once
#ifndef COMMANDADD_H
#define COMMANDADD_H
#include "Command.h"
class CommandAdd: public Command{
private:
	// pointer of event to be added
	Event* theEvent;
public: 
	CommandAdd();
	~CommandAdd();
	// for Analyzer to set the pointer of event to be added
	void setEvent(Event*);
	// execute the add command
	virtual Feedback execute(Receiver*);
	// undo the add command
	virtual Feedback undo(Receiver*);	
};
#endif